package com.youhome.api.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * Created by chen365 on 2018/05/25.
 */
@Data
@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
@ApiModel
public class DTOStatsResult {
    //房价环比增长率
    @ApiModelProperty(notes = "房价环比时间序列")
    private List<DTOTimeSeriesItem> price_mom;
    //房价同比增长率

    @ApiModelProperty(notes = "房价同比时间序列")
    private List<DTOTimeSeriesItem> price_yoy;

    //通勤指数
    @ApiModelProperty(notes = "通勤指数百分比")
    private DTOCommuteIndex commute_index;

    //房源价值/zipcode均价(此房源价格与附近价格对比)
    @ApiModelProperty(notes = "售价中价比")
    private DTOMedianSalesPrice median_sales_price_ratio;
    //房源每平方英尺均价/zipcode每平方英尺均价
    @ApiModelProperty(notes = "面积售价中价比")
    private DTOMedianSalesPrice median_sales_price_sqft_ratio;
    //zipcode 房价预测
    @ApiModelProperty(notes = "该区域价格预计")
    private DTOPriceForecast area_price_forecast;
    //当前房源房价预测
    @ApiModelProperty(notes = "价格预估")
    private DTOPriceForecast price_forecast;
    //族裔比例
    @ApiModelProperty(notes = "族裔分布")
    private DTOPopulationRatio demographics;
    //大学以上教育比例
    @ApiModelProperty(notes = "大学教育指数")
    private DTOEducation education;
    //失业率
    //private ThreePlacesValue unemployment;
    @ApiModelProperty(notes = "失业率")
    private DTOUnemploymentRate unemployment;
    //购房指数（压力）
    @ApiModelProperty(notes = "承受指数")
    private DTOAffordability affordability;
    //state/US房源价格走势
    @ApiModelProperty(notes = "州价格走势时间序列")
    private DTOStateMetroResult us_state_price_trend;
    //租金回报
    @ApiModelProperty(notes = "租金回报率时间序列")
    private List<DTOTimeSeriesItem> rental_yield_trend;
    //房租中位数时间图
    @ApiModelProperty(notes = "租金走势")
    private List<DTOTimeSeriesItem> median_rent_trend;
    //房价/租金关系
    @ApiModelProperty(notes = "租售比")
    private DTOPricesRentsResult price_rent_ratio;
    //SFR/condo房价变化
    @ApiModelProperty(notes = "独立房屋价格序列")
    private DTOSFRCondoResult sfr_condo_price_trend;
    //平均家庭收入
    //private ThreePlacesValue income;
    @ApiModelProperty(notes = "收入指数")
    private DTOIncome dtoIncome;
    //房租
    @ApiModelProperty(notes = "租金时间序列")
    private List<DTOTimeSeriesItem> rent;
    //1b/2b/3b/4b/5b+房价变化
    @ApiModelProperty(notes = "房屋价格走势")
    private DTOBedRoomResult bedroom_price_trend;
}
